package de.hmm.hwip.ipc.service;

import android.os.Bundle;
import de.hmm.hwip.ipc.api.IipcToOsgi;


/**
 *  Implementation of the Interprocess communication service.
 * 	Class starts a new thread when there is Hardware-communication
 * 
 * @author johannes mendel
 * @version 03.09.2012
 * 
 */
public class IpcImpl implements IipcToOsgi {

	@Override
	public boolean message(Bundle bundle) {
		System.out.println("Incoming Bundledata: " + bundle.keySet().toString() );
		Activator.sendMessageToAndroid(bundle);
		return true;
	}

}
